package Functions;

public interface interfaceOperations {

	/*
	 * function > String u will convert it to function from parsing then use it
	 * with x0 to get the double array "el double array deeh elly kona bn3melha
	 * b 2edeena
	 */
	public double[][] fixedPoint(String function, double x0);

	/**
	 * also return double array in the lecture
	 * 
	 * @param function
	 * @param a
	 * @param b
	 * @param delta
	 * @return
	 */
	public double[][] bisection(String function, double a, double b,
			double delta);

	/**
	 * also return double array in the lecture
	 * 
	 * @param function
	 * @param a
	 * @param b
	 * @param delta
	 * @return
	 */
	public double[][] falsePosition(String function, double a, double b,
			double delta);

	/**
	 * also return double array in the lecture
	 * 
	 * @param function
	 * @param p0
	 * 
	 * @return
	 */
	public double[][] newtonRaphson(String function, double p0);

	/**
	 * also return double array in the lecture
	 * 
	 * @param function
	 * @param a
	 * @param b
	 * @param delta
	 * @param maxNumber
	 * @return
	 */
	public double[][] secant(String function, double a, double b,double delta,double maxNumber);

}
